package com.owen.pojo;

import java.io.Serializable;

// 商品分类实体类
public class Fenlei implements Serializable {
    // 主键
    private Long id;

    // 是否购买
    private Integer fenleilock;

    // 商品
    private String name;

    public Fenlei(Long id, Integer fenleilock, String name) {
        this.id = id;
        this.fenleilock = fenleilock;
        this.name = name;
    }

    public Fenlei() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getFenleilock() {
        return fenleilock;
    }

    public void setFenleilock(Integer fenleilock) {
        this.fenleilock = fenleilock;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String toString() {
        return "Fenlei{" +
                "id=" + id +
                ", fenleilock=" + fenleilock +
                ", name='" + name + '\'' +
                '}';
    }
}
